home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 48 / MOBICLIC 48.ISO / pc / DATA / COMMUNS / MENUBD.DIR / 00039_Script_BOUCLE_INITIALE < prev    next >
Text File  |  2002-07-23  |  1KB  |  53 lines

  1. global validMBD,rollMessBD,fermeMenuBD, ouvreMenuBD
  2. global  gNbStamps, gfirstStampTrackNo
  3. global gL_bornes_Ekerre_R
  4. -----------------------------------------------
  5. on exitFrame
  6.   cursor -1
  7.   set r = rollOver()
  8.   repeat with i=gfirstStampTrackNo to gfirstStampTrackNo + gNbStamps - 1
  9.     zeNoItem = i - gfirstStampTrackNo + 1
  10.     if rollOver(i) and validMBD[zeNoItem]=1 then
  11.       member("item").text = string(i)
  12.       rollMessBD = member("menuBDMsg").line[zeNoItem]
  13.       go frame string(zeNoItem+1)
  14.       exit
  15.     end if
  16.   end repeat
  17.   rollMessBD  = "nul"
  18.   if fermeMenuBD=1 then
  19.     fermerMenu
  20.   else
  21.     if r<>0 then
  22.       go the frame
  23.     else
  24.       fermerMenu
  25.     end if
  26.     u = the mouseH
  27.     case(u < gL_bornes_Ekerre_R[1]) of
  28.       1:
  29.         go "1"
  30.       0:
  31.         case(u < gL_bornes_Ekerre_R[2]) of
  32.           1:
  33.             go "2"
  34.           0:
  35.             
  36.             case(u < gL_bornes_Ekerre_R[3]) of
  37.               1:
  38.                 go "3"
  39.               0:
  40.                 case(u < gL_bornes_Ekerre_R[4]) of
  41.                   1:
  42.                     go "4"
  43.                   0:
  44.                     go "1"
  45.                 end case
  46.                 
  47.             end case    
  48.         end case
  49.     end case
  50.   end if
  51.   
  52. end
  53. ----------------------------------------------